package com.gaohe.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Classname Room
 * @Description
 * @Date 2024/5/6 17:10
 * @Created by 高合吴彦祖鹏哥
 */

@Data
public class Room implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String name;
    private String location;
    private Integer people;
    private Integer status;
    /** 创建时间*/
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    //创建人
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    //修改人
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
    private Integer isDeleted;

}
